import request from '@/utils/request'
import qs from 'qs'
export function getTableLabel(params) {
  return request({
    url: '/eff/imagediff/label/',
    method: 'get',
    params
  })
}

export function getTableData(params) {
  return request({
    url: '/eff/imagediff/info/',
    method: 'get',
    params,
    paramsSerializer: params => {
      return qs.stringify(params, { indices: false })
    }
  })
}

export function getKubeData(params) {
  return request({
    url: '/eff/imagediff/kubes/',
    method: 'get',
    params
  })
}
